package com.example.springboot2.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Controller;

@Data
@ConfigurationProperties(prefix = "student2")
@Controller
public class Student {
    private int id;
    private String name;
    private int age;

}
